package service;

import dao.UserCommentDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import pojo.Comment;

@Service("userCommentService")
@Transactional
public class UserCommentService {
    @Autowired
    private UserCommentDao userCommentDao;
    public int aCT(Comment comment){return userCommentDao.addComment(comment);}
}
